package com.kot.backend.service.user.myspace;

import com.kot.backend.pojo.Post;
import com.kot.backend.pojo.User;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface UserlistService {
    public List<User> getuserlist();

    public Map<String,String> follow(Integer targetId);

    public User getuserbyid(Integer userId);

    public Map<String, String> postApost(String content);
    public List<Post> getpostbyid(Integer userId);

    public Map<String, String> deleteApost(Integer postId);

    public List<Post> getpostall();
}
